package basis.threadpool;

public class Task {
    private Runnable work;

    public Task(Runnable work) {
        this.work = work;
    }

    public void run() {
        this.work.run();
    }
}
